<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<%@ include file="/jsp/imports/header.jsp" %>
	<script>
	function foward(acao){
		document.form.action = acao;
		document.form.submit();
	}
</script>
</head>

<body>
<c:set var="page" value="jsp/diretor/disciplina/dirCadastraDisciplina.jsp" scope="session"/>
<div class="contentwrap">
	
<div class="headwrap">


  <%@ include file="/jsp/imports/top.jsp" %>   
    


	<div class="container content">
		
	  <div class="span-20 append-2 prepend-2">
	  
	  
	   
        <%@ include file="/jsp/imports/mensagens.jsp" %>
  	
  	
    
  <%@include file="/jsp/imports/menuLateral.jsp" %>
  



		  <div class="span-12 services last">
			<h2 align="center"><fmt:message key="cadastroDisciplina.titulo"/></h2>
			<br/>
			<form action="cadastraDisciplina.do" method="post" name="form">
				<table>
					<tr>
						<td><fmt:message key="nome"/></td>
						<td><input type="text" name="nome" id="nome" value="${param.nome}" size="82"/></td>
					</tr>
					<tr>
						<td><fmt:message key="codigoCurriculo"/></td>
						<td><input type="text" name="codigoCurriculo" id="codigoCurriculo" value="${param.codigoCurriculo}" size="82"/></td>
					</tr>
					<tr>
						<td><fmt:message key="ementa"/></td>
						<td><textarea rows="5" cols="60" name="ementa" id="ementa">${param.ementa}</textarea></td>
					</tr>
					<tr>
						<td><fmt:message key="contribuicao"/></td>
						<td><textarea rows="5" cols="60" name="contribuicao" id="contribuicao">${param.contribuicao}</textarea></td>
					</tr>
					<tr>
						<td><fmt:message key="objetivoGeral"/></td>
						<td><textarea rows="5" cols="60" name="objetivoGeral" id="objetivoGeral">${param.objetivoGeral}</textarea></td>
					</tr>
					<tr>
						<td><fmt:message key="objetivoEspecifico"/></td>
						<td><textarea rows="5" cols="60" name="objetivoEspecifico" id="objetivoEspecifico">${param.objetivoEspecifico}</textarea></td>
					</tr>
				</table>
				<input type="submit" value="<fmt:message key="botao.cadastrar"/>"/>
				<input type="button" value="<fmt:message key="botao.cancelar"/>" onclick="foward('${pageContext.request.contextPath}/jsp/index.jsp')"/>
			</form>
				
		  </div>
			
		  <div class="final"></div>
		
		</div>
	
	</div>

</div>

</div>

 
<%@ include file="/jsp/imports/footer.jsp" %>
</body>
</html>